﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="DashBoard.aspx.cs" Inherits="TM.Rules.Web.Rules.DashBoard" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table cellpadding="0" cellspacing="0" class="style1">
        <tr>
            <td style="font-size: medium; font-weight: bold; color: #003399">
                My Rules</td>
            <td style="font-size: medium; font-weight: bold; color: #003399">
                Public Rules</td>
            <td style="font-size: medium; font-weight: bold; color: #003399">
                Protected Rules</td>
        </tr>
        <tr>
            <td>
                <asp:GridView ID="grdMyRules" runat="server"  DataKeyNames="RuleID" CellPadding="4" ForeColor="#333333" GridLines="None" AutoGenerateColumns="False"  OnRowCommand="GridView1_RowCommand" OnRowDataBound="GridView1_RowDataBound" OnRowDeleted="GridView1_RowDeleted" OnRowDeleting="GridView1_RowDeleting" >
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        <Columns>
           
            <asp:BoundField DataField="RuleName" HeaderText="RuleName"                  SortExpression="RuleName" />
         
         <asp:TemplateField>
                    <ItemTemplate>
                        
                        <asp:Label ID="Label1" runat="server" ForeColor="Red" Text="80% Accuracy"></asp:Label>
                        
                    </ItemTemplate>
            </asp:TemplateField>

         <asp:TemplateField>
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton1" CommandArgument='<%# Eval("RuleID") %>' CommandName="Edit" runat="server" CausesValidation="false">Select</asp:LinkButton>
                    </ItemTemplate>
            </asp:TemplateField>
        
              
          
              
        </Columns>
        <EditRowStyle BackColor="#999999" />
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#E9E7E2" />
        <SortedAscendingHeaderStyle BackColor="#506C8C" />
        <SortedDescendingCellStyle BackColor="#FFFDF8" />
        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
    </asp:GridView>
    
    </td>
            <td>
                <asp:GridView ID="grdPublicRules" runat="server"  DataKeyNames="RuleID" 
                    CellPadding="4" ForeColor="#333333" GridLines="None" 
                    AutoGenerateColumns="False"  OnRowCommand="GridView1_RowCommand" 
                    OnRowDataBound="GridView1_RowDataBound" OnRowDeleted="GridView1_RowDeleted" 
                    OnRowDeleting="GridView1_RowDeleting" >
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        <Columns>
           
            <asp:BoundField DataField="RuleName" HeaderText="RuleName"                  SortExpression="RuleName" />
         
         <asp:TemplateField>
                    <ItemTemplate>
                        
                        <asp:Label ID="Label2" runat="server" ForeColor="Red" Text="80% Accuracy"></asp:Label>
                        
                    </ItemTemplate>
            </asp:TemplateField>

         <asp:TemplateField>
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton2" CommandArgument='<%# Eval("RuleID") %>' 
                            CommandName="Edit" runat="server" CausesValidation="false">Select</asp:LinkButton>
                    </ItemTemplate>
            </asp:TemplateField>
        
              
          
              
        </Columns>
        <EditRowStyle BackColor="#999999" />
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#E9E7E2" />
        <SortedAscendingHeaderStyle BackColor="#506C8C" />
        <SortedDescendingCellStyle BackColor="#FFFDF8" />
        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
    </asp:GridView>
    
            </td>
            <td>
                <asp:GridView ID="grdProtectedRules" runat="server"  DataKeyNames="RuleID" 
                    CellPadding="4" ForeColor="#333333" GridLines="None" 
                    AutoGenerateColumns="False"  OnRowCommand="GridView1_RowCommand" 
                    OnRowDataBound="GridView1_RowDataBound" OnRowDeleted="GridView1_RowDeleted" 
                    OnRowDeleting="GridView1_RowDeleting" >
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        <Columns>
           
            <asp:BoundField DataField="RuleName" HeaderText="RuleName"                  SortExpression="RuleName" />
         
         <asp:TemplateField>
                    <ItemTemplate>
                        
                        <asp:Label ID="Label3" runat="server" ForeColor="Red" Text="80% Accuracy"></asp:Label>
                        
                    </ItemTemplate>
            </asp:TemplateField>

         <asp:TemplateField>
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton3" CommandArgument='<%# Eval("RuleID") %>' 
                            CommandName="Edit" runat="server" CausesValidation="false">Select</asp:LinkButton>
                    </ItemTemplate>
            </asp:TemplateField>
        
              
          
              
        </Columns>
        <EditRowStyle BackColor="#999999" />
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#E9E7E2" />
        <SortedAscendingHeaderStyle BackColor="#506C8C" />
        <SortedDescendingCellStyle BackColor="#FFFDF8" />
        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
    </asp:GridView>
    
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="Button1" runat="server" Text="Add New Rule" />
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
